// 退出功能
$("#logout").on("click", function () {
  layer.confirm("确定要退出吗?", function (index) {
    localStorage.removeItem("token");
    location.href = "./login.html";
    layer.close(index);
  });
});
